//
//  AddView.m
//  AutoLayout
//
//  Created by yangjw  on 13-5-31.
//  Copyright (c) 2013年 yangjw . All rights reserved.
//

#import "AddView.h"

@implementation AddView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) 
    {
//		UIView *info = [[[NSBundle mainBundle] loadNibNamed:@"AddView" owner:self options:nil] objectAtIndex:0];
//		[self addSubview:info];
    }
    return self;
}

+(id)addView
{
	AddView *add = [[[NSBundle mainBundle] loadNibNamed:@"AddView" owner:nil options:nil]lastObject];
	if ([add isKindOfClass:[AddView class]])
        return add;
    else
        return nil;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

- (void)dealloc {
	[_userName release];
	[_button release];
	[super dealloc];
}
- (IBAction)add:(id)sender {
}
@end